package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Shoppingtrolley;
import org.hxyjs.entity.Subject;
import org.hxyjs.entity.SubjectExample;

public interface SubjectMapper {
    long countByExample(SubjectExample example);

    int deleteByExample(SubjectExample example);

    int deleteByPrimaryKey(String sjno);

    int insert(Subject record);

    int insertSelective(Subject record);

    String getMaxSjno();

    List<Subject> getSubjectByPage(Map map);

    List<Subject> selectByExample(SubjectExample example);

    Subject selectByPrimaryKey(String sjno);

    int updateByExampleSelective(@Param("record") Subject record, @Param("example") SubjectExample example);

    int updateByExample(@Param("record") Subject record, @Param("example") SubjectExample example);

    int updateByPrimaryKeySelective(Subject record);

    int updateByPrimaryKey(Subject record);
}